import { TypeConstants } from '../TypeConstants'
import { ReaderIn } from '../ReaderIn'
import { WriterOut } from '../WriterOut'

export interface ITypeAdapter {
  read(readerIn: ReaderIn): ReaderIn

  write(writerOut: WriterOut): WriterOut

  typeConstants(): TypeConstants
}